ioemu: Fix handling of phy: block devices.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 14 May 2008 08:11:40 +0000 (09:11 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 14 May 2008 08:11:40 +0000 (09:11 +0100)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/ioemu/xenstore.c

index bba243bdd43538946f4dc9b3e24c47ce16ba1710..6093618e44d48cbdb9df7ed5fec6b167d861272c 100644 (file)
@@ -258,7 +258,7 @@ void xenstore_parse_domain_config(int hvm_domid)
                }
                if (!strcmp(drv,"qcow")) {
                    /* autoguess qcow vs qcow2 */
-               } else if (!strcmp(drv,"file")) {
+               } else if (!strcmp(drv,"file") || !strcmp(drv,"phy")) {
                    format = &bdrv_raw;
                } else {
                    format = bdrv_find_format(drv);